package com.ruoyi.ora.service;

import java.util.List;
import com.ruoyi.ora.domain.VoiceFolder;

/**
 * 语音文件夹Service接口
 * 
 * @author liuwp
 * @date 2024-12-26
 */
public interface IVoiceFolderService 
{
    /**
     * 查询语音文件夹
     * 
     * @param id 语音文件夹主键
     * @return 语音文件夹
     */
    public VoiceFolder selectVoiceFolderById(Long id);

    /**
     * 查询语音文件夹列表
     * 
     * @param voiceFolder 语音文件夹
     * @return 语音文件夹集合
     */
    public List<VoiceFolder> selectVoiceFolderList(VoiceFolder voiceFolder);

    /**
     * 根据业务主键查询一条记录：语音文件夹
     *
     * @param voiceFolder 语音文件夹
     * @return 语音文件夹
     */
    public VoiceFolder selectOneVoiceFolder(VoiceFolder voiceFolder);

    /**
     * 新增语音文件夹
     * 
     * @param voiceFolder 语音文件夹
     * @return 结果
     */
    public int insertVoiceFolder(VoiceFolder voiceFolder);

    /**
     * 修改语音文件夹
     * 
     * @param voiceFolder 语音文件夹
     * @return 结果
     */
    public int updateVoiceFolder(VoiceFolder voiceFolder);

    /**
     * 修改语音文件夹
     *
     * @param voiceFolder 语音文件夹
     * @param voiceFolder 语音文件夹条件
     * @return 结果
     */
    public int updateVoiceFolderCondition(VoiceFolder voiceFolder, VoiceFolder voiceFolderCondition);

    /**
     * 批量删除语音文件夹
     * 
     * @param ids 需要删除的语音文件夹主键集合
     * @return 结果
     */
    public int deleteVoiceFolderByIds(Long[] ids);

    /**
     * 删除语音文件夹信息
     * 
     * @param id 语音文件夹主键
     * @return 结果
     */
    public int deleteVoiceFolderById(Long id);

    /**
     * 条件删除语音文件夹
     *
     * @param voiceFolder 语音文件夹
     * @return 结果
     */
    public int deleteVoiceFolderByCondition(VoiceFolder voiceFolder);
}
